package com.hksj.app.cron;


import com.hksj.app.service.CronToSwitchService;
import com.hksj.common.config.utils.SpringContextUtil;
import com.hksj.common.quartz.base.BaseJob;
import org.quartz.JobDataMap;

public class OtherRoomJob extends BaseJob {
    @Override
    public void exec(JobDataMap jobDataMap) {
        CronToSwitchService cronToSwitchService = SpringContextUtil.getBean(CronToSwitchService.class);
        cronToSwitchService.otherRoomSwitch(jobDataMap);
    }
}
